package org.iabako.server.tools;

import org.iabako.shared.entity.business.Installment;
import org.iabako.shared.entity.business.Payment;
import org.iabako.shared.entity.business.SaleProductService;
import org.iabako.shared.iservice.business.ProductService;

import java.io.Serializable;
import java.util.List;

/**
 * Created by jose on 26/02/15.
 */
public class PdfInvoiceTableDescriptor implements Serializable {

    private String title;
    private List<Payment> payments;
    private List<Installment> installments;
    private List<SaleProductService> productServices;

    private boolean withDifferentTaxes;
    private boolean withTaxes;

    public PdfInvoiceTableDescriptor(String title, boolean withDifferentTaxes, boolean withTaxes) {
        this.title = title;
        this.withDifferentTaxes = withDifferentTaxes;
        this.withTaxes = withTaxes;
    }

    public String getTitle() {
        return title;
    }

    public List<SaleProductService> getProductServices() {
        return productServices;
    }

    public void setProductServices(List<SaleProductService> productServices) {
        this.productServices = productServices;
    }

    public List<Payment> getPayments() {
        return payments;
    }

    public void setPayments(List<Payment> payments) {
        this.payments = payments;
    }

    public List<Installment> getInstallments() {
        return installments;
    }

    public void setInstallments(List<Installment> installments) {
        this.installments = installments;
    }

    public boolean isWithDifferentTaxes() {
        return withDifferentTaxes;
    }

    public boolean isWithTaxes() {
        return withTaxes;
    }
}
